package cn.edu.xmu.oomall.customer.model.bo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import java.util.Date;

/*配置发送邮件的属性*/
@Configuration
@Data
@NoArgsConstructor
public class MailSenderProperty {

    @Value("${customer.mail.from}")
    private String from;
    private String[] cc;
    private String[] bcc;
    @Value("${customer.mail.subject}")
    private String subject;
    private String text;
    @Value("${customer.mail.format}")
    private String format;
}
